package com.hk.service.quartz;

import org.apache.log4j.Logger;

/**
 * 
 * @author Sam
 *
 */

public abstract class BaseQuartz{
	protected final Logger logger = Logger.getLogger(getClass());

	public abstract void start();
	
	public void run()
	{
		try
		{
			this.start();

		} catch (Exception e)
		{
			logger.error(getClass() + " quartz error: "  , e);
		}
	}
	
	
}
